/**
 * 神州信息(2013)
 */
/**
 * 神州信息(2013)
 */
package net.nextvisual.report.start;

/**
 * 表头单元格，用于分析表头
 * 
 * @version 1.0
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since 销售宝 2.0
 * 
 *        <pre>
 * 历史：
 *      建立: 2013-8-7 lexloo
 * </pre>
 */
public class HeadCell {
    private int column;
    private int row;
    private int columnSpan;
    private int rowSpan;
    private String value;
    private String dataType;

    public HeadCell(int columnSpan, int rowSpan, String value) {
        this.columnSpan = columnSpan;
        this.rowSpan = rowSpan;
        this.value = value;
    }

    @Override
    public String toString() {
        return this.column + ":" + this.row + ":" + this.columnSpan + ":" + this.rowSpan + ":" + value;
    }

    /**
     * @return the column
     */
    public int getColumn() {
        return column;
    }

    /**
     * @param column the column to set
     */
    public void setColumn(int column) {
        this.column = column;
    }

    /**
     * @return the row
     */
    public int getRow() {
        return row;
    }

    /**
     * @param row the row to set
     */
    public void setRow(int row) {
        this.row = row;
    }

    /**
     * @return the columnSpan
     */
    public int getColumnSpan() {
        return columnSpan;
    }

    /**
     * @param columnSpan the columnSpan to set
     */
    public void setColumnSpan(int columnSpan) {
        this.columnSpan = columnSpan;
    }

    /**
     * @return the rowSpan
     */
    public int getRowSpan() {
        return rowSpan;
    }

    /**
     * @param rowSpan the rowSpan to set
     */
    public void setRowSpan(int rowSpan) {
        this.rowSpan = rowSpan;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * @return the dataType
     */
    public String getDataType() {
        return dataType;
    }

    /**
     * @param dataType the dataType to set
     */
    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
}
